(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
zeros → cons(0, n__zeros)
U11(tt, L) → U12(tt, activate(L))
U12(tt, L) → s(length(activate(L)))
length(nil) → 0
length(cons(N, L)) → U11(tt, activate(L))
zeros → n__zeros
activate(n__zeros) → zeros
activate(X) → X
Rewrite Strategy: FULL
(1) CpxTrsToCpxRelTrsProof (BOTH BOUNDS(ID, ID) transformation)
Transformed TRS to relative TRS where S is empty.
(2) Obligation:
Runtime Complexity Relative TRS:
The TRS R consists of the following rules:
zeros → cons(0, n__zeros)
U11(tt, L) → U12(tt, activate(L))
U12(tt, L) → s(length(activate(L)))
length(nil) → 0
length(cons(N, L)) → U11(tt, activate(L))
zeros → n__zeros
activate(n__zeros) → zeros
activate(X) → X
S is empty.
Rewrite Strategy: FULL
(3) SlicingProof (LOWER BOUND(ID) transformation)
Sliced the following arguments:
cons/0
(4) Obligation:
Runtime Complexity Relative TRS:
The TRS R consists of the following rules:
zeros → cons(n__zeros)
U11(tt, L) → U12(tt, activate(L))
U12(tt, L) → s(length(activate(L)))
length(nil) → 0
length(cons(L)) → U11(tt, activate(L))
zeros → n__zeros
activate(n__zeros) → zeros
activate(X) → X
S is empty.
Rewrite Strategy: FULL
(5) InfiniteLowerBoundProof (EQUIVALENT transformation)
The loop following loop proves infinite runtime complexity:
The rewrite sequence
U11(tt, n__zeros) →+ s(U11(tt, n__zeros))
gives rise to a decreasing loop by considering the right hand sides subterm at position [0].
The pumping substitution is [ ].
The result substitution is [ ].
(6) BOUNDS(INF, INF)